object TEstTemp {
  def main(args: Array[String]): Unit = {
    val s: String = "朱蓉昨天浪漫过头了"
    //println("她发烧了" + s)
    println(s"他发烧了，${s}")
    val a = 22 //10110
    val b = 14 // 1110
    if (a % 2 == 0) {
      println(s"${a}是偶数")
    } else {
      println(s"${a}是奇数")
    }
    //1 1000
    val c = a ^ b
    println(c)

    val d = if (a > 0) 1 else -1
    println(s"d is ${d}")

    var k = if (b > 10) 2 else "小于10"
    println(k)
  }
}
